﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/OneColumn.master" AutoEventWireup="true"
    Inherits="NopSolutions.NopCommerce.Web.AccountPage" CodeBehind="Account.aspx.cs" %>

<%@ Register TagPrefix="nopCommerce" TagName="CustomerInfo" Src="~/Modules/CustomerInfo.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerShippingAddresses" Src="~/Modules/CustomerShippingAddresses.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerAccounts" Src="~/Modules/CustomerAccounts.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerOrders" Src="~/Modules/CustomerOrders.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="CustomerChangePassword" Src="~/Modules/CustomerChangePassword.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="BannerList" Src="~/Modules/BannerList.ascx" %>
<%@ Register TagPrefix="nopCommerce" TagName="OnlineConsultant" Src="~/Modules/OnlineConsultant.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="Server">
    <% if (NopContext.Current.User != null
               && (NopContext.Current.User.IsRoleSuperAdmin || NopContext.Current.User.IsRoleSimpleAdmin))
       { %>
    <a href="<%=Page.ResolveUrl("~/administration/")%>" class="ico-admin">
        <%=GetLocaleResourceString("Account.Administration")%></a>
    <%} 
    %>
    <div class="clear">
    </div>
    <ajaxToolkit:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true"
        EnableScriptLocalization="true" ID="sm1" ScriptMode="Release" CompositeScript-ScriptMode="Release" />
    <ajaxToolkit:TabContainer runat="server" ID="CustomerTabs" ActiveTabIndex="0" CssClass="grey">
        <ajaxToolkit:TabPanel runat="server" ID="pnlCustomerInfo" HeaderText="Личные данные">
            <ContentTemplate>
                <nopCommerce:CustomerInfo ID="ctrlCustomerInfo" runat="server" />
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="pnlCustomerShippingAddresses" HeaderText="Адреса доставки">
            <ContentTemplate>
                <nopCommerce:CustomerShippingAddresses ID="CustomerShippingAddresses" runat="server" />
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="pnlCustomerAccounts" HeaderText="Реквизиты">
            <ContentTemplate>
                <nopCommerce:CustomerAccounts ID="CustomerAccounts" runat="server" />
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="pnlCustomerOrders" HeaderText="Ваши заказы">
            <ContentTemplate>
                <nopCommerce:CustomerOrders ID="ctrlCustomerOrders" runat="server" />
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
        <ajaxToolkit:TabPanel runat="server" ID="pnlChangePassword" HeaderText="<% $NopResources:Account.ChangePassword %>">
            <ContentTemplate>
                <nopCommerce:CustomerChangePassword ID="ctrlCustomerChangePassword" runat="server" />
            </ContentTemplate>
        </ajaxToolkit:TabPanel>
    </ajaxToolkit:TabContainer>
    <div class="right_area">
        <div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td>
                            <nopCommerce:OnlineConsultant ID="OnlineConsultant1" runat="server" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div>
            <nopCommerce:BannerList ID="ctrlBannerList" runat="server" />
        </div>
        <div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                </tbody>
            </table>
        </div>
    </div>
    <div class="clear">
    </div>
</asp:Content>
